<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
    <link rel="stylesheet" href="../src/josh-ui.css">
    <title>JoshUi-表单元素</title>
</head>
<body>
    <div class="ju-content">
        <h1 class="ju-panel-title">Panel标题:</h1>
        <div class="ju-panel-body">
            Panel内容区
        </div>

         <!-- 基本输入框 -->
        <h1 class="ju-panel-title">基本输入框：</h1>
        <div class="ju-panel-body no-padding">
            <div class="ju-form-item">
                <label class="ju-form-label">用户名</label>
                <div class="ju-form-body">
                    <input class="ju-input" type="text" placeholder="请输入姓名"></input>
                </div>
            </div>
            <div class="ju-form-item">
                <label class="ju-form-label">密码</label>
                <div class="ju-form-body">
                    <input class="ju-input" type="password" placeholder="请输入密码"></input>
                </div>
            </div>
            <div class="ju-form-item">
                <label class="ju-form-label">日期</label>
                <div class="ju-form-body">
                    <input class="ju-input" type="date" placeholder="请选择日期"></input>
                </div>
            </div>
        </div>

        <!-- 带清空按钮的输入框 -->
        <h1 class="ju-panel-title">带清空功能的输入框:</h1>
        <div class="ju-panel-body no-padding">
            <div class="ju-form-item">
                <label class="ju-form-label">手机号</label>
                <div class="ju-form-body">
                    <input class="ju-input" type="text" placeholder="请输入手机号" required/>
                    <i class="fa fa-close ju-input-icon reset"></i>
                </div>
            </div>
        </div>

        <!-- 带错误提示的输入框 -->
        <h1 class="ju-panel-title">带错误提示的输入框:</h1>
        <div class="ju-panel-body no-padding">
            <div class="ju-form-item">
                <label class="ju-form-label">邮箱</label>
                <div class="ju-form-body">
                    <input class="ju-input" type="text" placeholder="请输入邮箱" />
                    <i class="fa fa-exclamation ju-input-icon warning"></i>
                </div>
            </div>
        </div>

        <!-- 单选输入 -->
        <h1 class="ju-panel-title">单选:</h1>
        <div class="ju-panel-body no-padding">
            <div class="ju-form-item">
                <div class="ju-radio">
                    <i class="fa fa-check ju-radio-icon"></i>
                    <span class="ju-radio-desc">单选选项1</span>
                    <input class="ju-radio-input" type="radio">
                </div>
            </div>
            <div class="ju-form-item">
                <div class="ju-radio checked">
                    <i class="fa fa-check ju-radio-icon"></i>
                    <span class="ju-radio-desc">单选选项2</span>
                    <input class="ju-radio-input" type="radio">
                </div>
            </div>
            <div class="ju-form-item">
                <div class="ju-radio">
                    <i class="fa fa-check ju-radio-icon"></i>
                    <span class="ju-radio-desc">单选选项3</span>
                    <input class="ju-radio-input" type="radio">
                </div>
            </div>
        </div>

        <!-- 多选输入 -->
        <h1 class="ju-panel-title">多选:</h1>
        <div class="ju-panel-body no-padding">
            <div class="ju-form-item">
                <div class="ju-check">
                    <i class="fa fa-check ju-check-icon"></i>
                    <span class="ju-check-desc">多选选项1</span>
                    <input class="ju-check-input" type="checkbox">
                </div>
            </div>
            <div class="ju-form-item">
                <div class="ju-check checked">
                    <i class="fa fa-check ju-check-icon"></i>
                    <span class="ju-check-desc">多选选项2</span>
                    <input class="ju-check-input" type="checkbox">
                </div>
            </div>
            <div class="ju-form-item">
                <div class="ju-check checked">
                    <i class="fa fa-check ju-check-icon"></i>
                    <span class="ju-check-desc">多选选项3</span>
                    <input class="ju-check-input" type="checkbox">
                </div>
            </div>
        </div>
    </div>
</body>
</html>